package Collections;

public class SafePoint {
	private double x, y;

	public SafePoint(double x, double y) {
		super();
		this.x = x;
		this.y = y;
	}
	
	public synchronized void set(double x, double y) {
		this.x = x;
		this.y = y;
	}
	
	public synchronized SafePoint get() {
		return this;
	}

}
